
#include <iostream>
#include "Input.h"
#include "HEALPIX_Data.h"
#include "PGPLOT_Renderer.h"


Input::Input() {
	cout << "Input::Input Default Constructor" << endl;

	suggested_container = NULL;
	suggested_renderer = NULL;

}
Input::Input(char *filename) {
	cout << "Input::Input(char *) Overloaded Constructor - trying to find filetype" << endl;
	
	/*! The job of this member function is to test the file to try and work out what it is
	then choose a relavent DataContainer. It is the DataContainer's job to actually load in the 
	data
	!*/

	/* here should be the test */

	/* but at the moment I know I am only dealing with my healpix files so: */

	suggested_container = new HEALPIX_Data(filename);

	/* do we suggest a renderer */

	suggested_renderer = new PGPLOT_Renderer;
	
	 
}
Input::~Input() {
	cout << "Input::~Input() Default Destructor" << endl;
}

